projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
776111f
)
csd: hide invisible borders when tiled or fullscreen
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 5 Jul 2013 18:53:05 +0000
(14:53 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 5 Jul 2013 19:53:30 +0000
(15:53 -0400)
This is the expected behavior, and matches what mutter does.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 737a3b56dcdd099b0d911d88aaaa4132b71ecdd7..6e0684e5f205f8088d9a3234e01f13c708ba301a 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-6224,7
+6224,10
@@
update_border_windows (GtkWindow *window)
&border);
gtk_style_context_restore (context);
- if (!priv->resizable || gtk_window_get_maximized (window))
+ if (!priv->resizable ||
+ priv->tiled ||
+ priv->fullscreen ||
+ gtk_window_get_maximized (window))
{
resize_h = resize_v = FALSE;
}